#ifndef __OGREINIT_H__
#define __OGREINIT_H__

#include "Headers.h"

class OgreInit: public Ogre::Singleton<OgreInit>
{
private:
	Root*			mRoot;
	SceneManager*	mSceneMgr;
	RenderWindow*	mFirstRW;
	//
	Ogre::String			mResourcesCfg;
	Ogre::String			mPluginsCfg;
	Ogre::String			mConfigCfg;
	Ogre::String			mLogCfg;

public:
	OgreInit();
	~OgreInit();

	bool Init();
	void setupResources();
	void initResources();
	SceneManager* getSceneManager();

	ParticleSystem* ps;

	static OgreInit*	getSingletonPtr();
	static OgreInit&	getSingleton();

};

#endif